package cn.yi.newsys.pojo;

public class NewsCategory {
	private Integer id ;		// 类型ID
	private String name ;		// 类型名
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * 构造方法
	 * @param id
	 * @param name
	 */
	public NewsCategory(Integer id, String name) {
		super();
		this.id = id;
		this.name = name;
	}
	
	/**
	 * 构造方法
	 */
	public NewsCategory() {
		super();
	}
	
	
}
